package controllers;

import models.Auditorium;
import models.Event;
import play.mvc.Controller;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: bicho
 * Date: 25/04/12
 * Time: 11:15
 * To change this template use File | Settings | File Templates.
 */
public class ManageEventAuditoriums extends Controller {


    public static void list(String nick) {
        Event event = Event.getByNick(nick);
        List<Auditorium> auditoriums = Auditorium.findAll();
        render(event, auditoriums );
    }
}
